package com.vishnu.core.annonymousInnerClassPractice;

public class Test5 {

	public static void main(String[] args) {
		Runnable r=new Runnable(){
			public void run(){
				for(int i=0; i<123;i++){
					System.out.println("child thread "+i);
				}	
			}
		};
		
		
		Thread t=new Thread(r);
		t.start();
		for(int i=0;i<10;i++){
			System.out.println("main thread "+i);
		}
	}
}
